package com.example.project.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.example.project.core.domain.BaseEntity;

/**
 * 需求相似度缓存对象 t_issue_similarity_cache
 */
public class IssueSimilarityCache extends BaseEntity {
    
    private static final long serialVersionUID = 1L;
    
    /** 主键ID */
    private Long id;
    
    /** 源需求ID */
    private Long sourceIssueId;
    
    /** 目标需求ID */
    private Long targetIssueId;
    
    /** 相似度分数(0-1) */
    private BigDecimal similarityScore;
    
    /** 匹配原因说明 */
    private String matchReasons;
    
    /** 创建时间 */
    private LocalDateTime createdTime;
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public Long getId() {
        return id;
    }
    
    public void setSourceIssueId(Long sourceIssueId) {
        this.sourceIssueId = sourceIssueId;
    }
    
    public Long getSourceIssueId() {
        return sourceIssueId;
    }
    
    public void setTargetIssueId(Long targetIssueId) {
        this.targetIssueId = targetIssueId;
    }
    
    public Long getTargetIssueId() {
        return targetIssueId;
    }
    
    public void setSimilarityScore(BigDecimal similarityScore) {
        this.similarityScore = similarityScore;
    }
    
    public BigDecimal getSimilarityScore() {
        return similarityScore;
    }
    
    public void setMatchReasons(String matchReasons) {
        this.matchReasons = matchReasons;
    }
    
    public String getMatchReasons() {
        return matchReasons;
    }
    
    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }
    
    public LocalDateTime getCreatedTime() {
        return createdTime;
    }
}